home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 039a / uw201.zip / UW_GLOBX.H < prev    next >
Text File  |  1991-09-29  |  3KB  |  65 lines

  1. /****************************************************************************/
  2. /*                                                                                                                                                    */
  3. /* UW_GLOBX.H                                                                                                                             */
  4. /*                                                                                                                                                    */
  5. /* This module contains all the externs used by the UltraWIN library.       */
  6. /*                                                                                                                                                    */
  7. /*                                                                                                                    Kevin Huck            */
  8. /*                                                                                                                    Boyd Gafford        */
  9. /*                                                                                                                                                    */
  10. /****************************************************************************/
  11. #include <conio.h>
  12.  
  13. extern int                     Num_windows;                /* number of open windows on desk!    */
  14. #ifdef M_I86
  15. extern uchar    far        *Screen;                                        /* ponter to physical screen loc        */
  16. #else
  17. extern uchar    far    *Screen;                                                    /* ponter to physical screen loc        */
  18. #endif
  19. extern uchar                 V_cols;                            /* columns on the video screen            */
  20. extern uchar                V_rows;                            /* rows on the video screen                    */
  21. extern int                      V_mode;                            /* old video mode!                                    */
  22.  
  23. extern int                     DV_seg;                            /* Desqview variables                                */
  24. extern int                     DV_off;
  25. extern int                     DV_flag;
  26. extern int                     DV_upd;
  27.  
  28. extern uchar                  Dflt_att;                     /* default colors for windows                */
  29. extern uchar                  Dflt_bdr_att;
  30.  
  31. extern int                     Stack[64];
  32. extern int                     Stack_ptr;                    /* stack to save wn states                    */
  33. extern int                     Csr_visible;                /* is the cursor visible                        */
  34. extern int                     Csr_in_use;                    /* is the cursor used by a popup?        */
  35.  
  36. extern EVENT                 Event;                            /* the global event variable        */
  37. extern int                     Mouse_exists;                /* is the mouse available or not?        */
  38.  
  39. extern WINDOW                 *First_window;            /* manager first window pointer            */
  40. extern WINDOW                 *Last_window;                /* manager last window pointer            */
  41.  
  42. extern int                     (*Idle_func)();            /* global function pointer                    */
  43. #ifdef __cplusplus
  44. extern int                     (*Vld_func)(...);        /* global function pointer                    */
  45. #else
  46. extern int                     (*Vld_func)();            /* global function pointer                    */
  47. #endif
  48. extern uchar        Fgnd, Bkgnd;                    /* fore/background for graphics mode*/
  49. extern int          Graphics;                        /* set to 1 if graphics mode                */
  50. extern int          X_res, Y_res;                /* x, y, res for graphics mode      */
  51. extern int         Font_rows, Font_spacing;        /* rows in font, font spacing    */
  52. extern int          Gseg, Goff;                    /* graphics screen segment, offset  */
  53. extern int          Bytes_per_row;                /* bytes per graphics row                        */
  54. extern int         Ega, Vga, EgaVga;      /* 1 if present    (mutually exclusive)*/
  55. extern int G_csrx, G_csry, G_csr_char, G_opt;
  56. extern PRINT        *Printers[MAX_PRINTERS];     /* printer que structure ptrs  */
  57.  
  58. extern int          Uw_timers[4];                         /* user timers - decrement to 0*/
  59. extern int          Sys_timer[2], Sound_timer;/* system/sound timers         */
  60. extern int          Clock_init;                              /* 1 if we have clock vector        */
  61. extern int          Sound_on;                                  /* 1 when sound is on                    */
  62. extern ulong        Tics;                                         /* total clock interrupts            */
  63.  
  64. /**** END OF FILE ****/
  65.